<template>
	<view :data-theme="theme">
		<view class="container">
			<u-empty mode="history" icon="http://cdn.uviewui.com/uview/empty/history.png" text="更多送货记录可前往电脑端合作商门户查看">
			</u-empty>
		</view>
	</view>
</template>

<script>
	import {
		setThemeColor
	} from '../../../utils/setTheme';
	let app = getApp();
	export default {
		data() {
			return {
				bgColor: "#ffffff",
				theme: app.globalData.theme,
			};
		},
		onLoad() {
			this.bgColor = setThemeColor();
			uni.setNavigationBarColor({
				frontColor: '#ffffff',
				backgroundColor: this.bgColor,
			});
		}
	}
</script>

<style lang="scss">
.bg_color {
		@include main_bg_color(theme);
	}

	.header {
		background-color: #ffffff;
	}

	.container {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 80vh;
		/* 可以根据实际需求设置高度 */
	}
</style>